﻿<div id="addRootModal" tabindex="-1" class="modal fade in" aria-hidden="true">
    <div class="modal-dialog">
        <div class="box box-info">
            <div class="box-header with-border">
                <h5 class="box-title" id="Title"></h5>
                <button class="close" aria-label="Close" type="button" data-dismiss="modal">
                    <span aria-hidden="true">×</span>
                </button>
            </div>
            <form class="form-horizontal">
                <input type="hidden" id="Id" />
                <input type="hidden" id="ParentId" />
                <input type="hidden" id="CreatedBy" />
                <input type="hidden" id="CreatedOn" />
                <input type="hidden" id="UpdatedBy" />
                <input type="hidden" id="UpdatedOn"/>
                <div class="box-body">
                    <div class="form-group">
                        <label class="col-sm-2 control-label" for="">部门名称</label>
                        <div class="col-sm-10">
                            <input class="form-control" id="Name" type="text" placeholder="部门名称">
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-sm-2 control-label" for="inputPassword3">部门编码</label>
                        <div class="col-sm-10">
                            <input class="form-control" id="Code" type="text" placeholder="部门编码">
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-sm-2 control-label" for="">负责人</label>
                        <div class="col-sm-10">
                            <input class="form-control" id="Manager" type="text" placeholder="负责人">
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-sm-2 control-label" for="">联系电话</label>
                        <div class="col-sm-10">
                            <input class="form-control" id="ContactNumber" type="text" placeholder="联系电话">
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-sm-2 control-label" for="">地址</label>
                        <div class="col-sm-10">
                            <input class="form-control" id="Address" type="text" placeholder="地址">
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-sm-2 control-label" for="">部门描述</label>
                        <div class="col-sm-10">
                            <textarea id="Remarks" class="form-control" rows="3" placeholder="部门描述"></textarea>
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-sm-2 control-label" for="">排序</label>
                        <div class="col-sm-10">
                            <input class="form-control" id="SortIndex" type="number" placeholder="填写一个正整数">
                        </div>
                    </div>
                    @*<div class="form-group">
                        <label class="col-sm-2 control-label" for="">是否锁定</label>
                        <div class="col-sm-10">
                            <input id="IsLock" type="checkbox">选中则锁定
                        </div>
                    </div>*@
                    <div class="form-group">
                        <label class="col-sm-2 control-label" for="">前台是否显示</label>
                        <div class="col-sm-10">
                            <input id="IsDisplay" type="checkbox">选中则在前台显示
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-sm-2 control-label" for="">图标</label>
                        <div class="col-sm-10">
                            <input class="form-control" id="PicPath" type="text" disabled/>
                            
                            <input type="file" id="files" name="files" />
                            <input type="button" id="upload" value="上传" />

                        </div>
                    </div>
                </div>
                <div class="box-footer">
                    <div class="pull-right box-tools">
                        <button id="btnSave" class="btn btn-primary" type="button">保存</button>
                        <button class="btn btn-default" type="button" data-dismiss="modal">取消</button>
                    </div>
                </div>
            </form>
        </div>
    </div>
</div>

